package com.codi.bus.core.dao.impl;

import com.codi.base.dao.BaseDAOImpl;
import com.codi.bus.core.dao.SysFileNewDao;
import com.codi.bus.core.domain.SysFileNew;
import org.springframework.stereotype.Repository;

@Repository("sysFileDaoNew")
public class SysFileNewDaoImpl extends BaseDAOImpl<SysFileNew> implements SysFileNewDao{

    @Override
    public SysFileNew getFileByFileName(String fileName) {
        return this.getObject(generateStatement("getFileByFileName"), fileName);
    }
}
